package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 货物运单对象 driver_order
 * 
 * @author ruoyi
 * @date 2024-06-16
 */
@Data
public class DriverOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 物流id */
    @Excel(name = "物流id")
    private Long logisticsId;

    /** 运单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "运单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date waybillDate;

    /** 运单起送点 */
    @Excel(name = "运单起送点")
    private String waybillStartAddress;

    /** 运单到货点 */
    @Excel(name = "运单到货点")
    private String waybillEndAddress;

    /** 运单价格 */
    @Excel(name = "运单价格")
    private BigDecimal waybillPrice;

    /** 运单数量 */
    @Excel(name = "运单数量")
    private String waybillNumber;

    /** 备注 */
    @Excel(name = "备注")
    private String waybillRemark;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatetime;

}
